import { SHOW_MODAL, HIDE_MODAL, SHOW_MODAL_ASYNC } from "../const/modal.const";

export const show = () => ({type: SHOW_MODAL})
export const hide = () => ({type: HIDE_MODAL})

export const show_async = () => ({type: SHOW_MODAL_ASYNC})

// export const show_async = () => dispatch => {
//   setTimeout(() => {
//     dispatch(show())
//   }, 1000)
// }